local s15__baiyin = fk.CreateSkill {
  name = "s15__baiyin",
  tags = { Skill.Compulsory },
}

Fk:loadTranslationTable {
  ["s15__baiyin"] = "白银",
  [":s15__baiyin"] = "锁定技，若你没有装备防具，视为你装备着【白银狮子】。",

  ["$s15__baiyin1"] = "白银之躯，坚不可摧。",
  ["$s15__baiyin2"] = "狮子护体，万劫不侵。",
}

-- 伤害减免效果（白银狮子技能1：伤害超过1时减至1）
s15__baiyin:addEffect(fk.DamageInflicted, {
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(s15__baiyin.name) and not player:isFakeSkill(self) and
        not player:getEquipment(Card.SubtypeArmor) and data.damage > 1 and
        Fk.skills["#silver_lion_skill"] ~= nil and Fk.skills["#silver_lion_skill"]:isEffectable(player)
  end,
  on_use = function(self, event, target, player, data)
    data:changeDamage(1 - data.damage)
  end,
})

return s15__baiyin
